facebook:
    order:
      - self_status
      - alerts
#      - birthdays
      - newsfeed
    self_status: >
                    <body link='${fonts.linkfc}'>
                        <table width='100%' cellpadding='3' cellspacing='0' border='0' valign='top'>
                            <tr>
                                <td>
                                    ${TagFont(unicode(obj.self_status.formated_name) + ' ',    'title',fonts)}
                                    ${TagFont(unicode(obj.self_status.formated_message), 'major',fonts)}
                                    ${TagFont(' (','major',fonts)}
                                    ${TagFont("<a href='^_^edit_status'>edit</a>",'link',fonts)}
                                    ${TagFont(')','major',fonts)}
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <wxp module='gui.infobox.htmlbitmaps' class='BitmapFromSkin' width='100%' height='-1'><param name='key' value='infobox.shortseparatorimage'>
                                        <param name='padding' value='(1,1)'>
                                    </wxp>
                                </td>
                            </tr>
                        </table>

    birthdays:
        header: >
                    <table width='100%' cellpadding='3' cellspacing='0' border='0' valign='top'>
                        <tr>
                            <td>
                                ${TagFont('Upcoming Birthdays','title',fonts)}
                                <table cellpadding='2' cellspacing='0' border='0' valign='top'>
                                <tr><td></td></tr>
                                </table>
                                <table cellpadding='0' width='100%' cellspacing='0' border='0' align='left' valign='top'>

        footer: >
                    </table>
                    </td>
                    </tr>
                    <tr>
                      <td colspan='2'>
                        <wxp module='gui.infobox.htmlbitmaps' class='BitmapFromSkin' width='100%' height='-1'>
                          <param name='key' value='infobox.shortseparatorimage'>
                          <param name='padding' value='(1,1)'>
                        </wxp>
                      </td>
                    </tr>
                    </table>
                    </td>
                    </body>
        tuple:
          message: >
                        <tr><td>
                           ${TagFont(obj[0] + ' ' + obj[1], 'major', fonts)}
                        </td></tr>

    alerts:
        header: >
                    <table width='100%' cellpadding='3' cellspacing='0' border='0' valign='top'>
                        <tr>
                            <td>
                                ${TagFont('Alerts','title',fonts)}
                                <br>
                                <table cellpadding='0' cellspacing='0' border='0' valign='top'>

        num_msgs: >
                    <tr>
                        <td width='8'></td>
                        <td>
                            ${TagFont(u''.join(['<a href=', obj.urls['msgs'], '>', \
                                                  str(obj.num_msgs), ' new message', \
                                                  's' if obj.num_msgs-1 else '', \
                                                '</a>']),'major',fonts)}
                        </td>
                    </tr>
        num_friend_requests: >
                                <tr>
                                    <td width='8'></td>
                                    <td>
                                        ${TagFont(u''.join(['<a href=', obj.urls['friend_requests'], '>', \
                                                              str(obj.num_friend_requests), ' new friend request', \
                                                              's' if obj.num_friend_requests-1 else '', \
                                                            '</a>']),'major',fonts)}
                                    </td>
                                </tr>
        num_pokes: >
                    <tr>
                        <td width='8'></td>
                        <td>
                            ${TagFont(u''.join(['<a href=', obj.urls['pokes'], '>', \
                                                  str(obj.num_pokes), ' new poke', \
                                                  's' if obj.num_pokes-1 else '', \
                                                '</a>']),'major',fonts)}
                        </td>
                    </tr>
        num_shares: >
                        <tr>
                            <td width='8'></td>
                            <td>
                                ${TagFont(u''.join(['<a href=', obj.urls['shares'], '>', \
                                                      str(obj.num_shares), ' new share', \
                                                      's' if obj.num_shares-1 else '', \
                                                    '</a>']),'major',fonts)}
                            </td>
                        </tr>
        num_group_invites: >
                            <tr>
                                <td width='8'></td>
                                <td>
                                    ${TagFont(u''.join(['<a href=', obj.urls['group_invites'], '>', \
                                                          str(obj.num_group_invites), ' new group invite', \
                                                          's' if obj.num_group_invites-1 else '', \
                                                        '</a>']),'major',fonts)}
                                </td>
                            </tr>
        num_event_invites: >
                                <tr>
                                    <td width='8'></td>
                                    <td>
                                        ${TagFont(u''.join(['<a href=', obj.urls['event_invites'], '>', \
                                                              str(obj.num_event_invites), ' new event invite', \
                                                              's' if obj.num_event_invites-1 else '', \
                                                            '</a>']),'major',fonts)}
                                    </td>
                                </tr>

        none: >
                    <tr>
                        <td width='8'></td>
                        <td>
                            ${TagFont('No Alerts','major',fonts)}
                        </td>
                    </tr>
        footer: >
                    </table>
                    </td>
                    </tr>
                    <tr>
                        <td colspan='2'>
                            <wxp module='gui.infobox.htmlbitmaps' class='BitmapFromSkin' width='100%' height='-1'><param name='key' value='infobox.shortseparatorimage'>
                                <param name='padding' value='(3,1)'>
                            </wxp>
                        </td>
                    </tr>
                    </table>
                    <br>

    newsfeed:
      header: >
                <table cellpadding='3' cellspacing='0' border='0' valign='top'>
                    <tr>
                        <td>
                            ${TagFont('News Feed','title',fonts)}
      separator: "<br>"
      footer: "</td></tr></table></body>"
      Status:
        message: >
                    <table cellpadding='3' cellspacing='0' border='0' valign='top'>
                        <tr><td></td></tr>
                    </table>
                    <table cellpadding='0' cellspacing='0' border='0' valign='top'>
                        <tr>
                            <td>
                                ${'<img src="' + skin.get('facebookicons.status').path + '" />'}
                            </td>
                            <td>&nbsp;&nbsp;</td>
                            <td>
                                ${TagFont(u''.join(['<a href=http://www.facebook.com/profile.php?id=', str(obj.uid), '>', \
                                                       obj.name, '</a> ', obj.message]),'major',fonts)}
                                ${TagFont(u''.join([' (',obj.formatted_time,')']),'minor',fonts)}
                            </td>
                        </tr>
                    </table>
      Profile:
        message: >
                    <table cellpadding='3' cellspacing='0' border='0' valign='top'>
                        <tr><td></td></tr>
                    </table>
                    <table cellpadding='0' cellspacing='0' border='0' valign='top'>
                        <tr>
                            <td>
                                ${'<img src="' + skin.get('facebookicons.profile').path + '" />'}
                            </td>
                            <td>&nbsp;&nbsp;</td>
                            <td>
                                ${TagFont(u''.join( \
                                  ['<a href=http://www.facebook.com/profile.php?id=', str(obj.uid), '&highlight>', \
                                      obj.name, \
                                   '</a> updated ', obj.his_her_their, ' profile']),'major',fonts)}
                                ${TagFont(u''.join([' (',obj.formatted_time,')']),'minor',fonts)}
                            </td>
                        </tr>
                    </table>
      Tagged:
        message: >
                    <table cellpadding='3' cellspacing='0' border='0' valign='top'>
                        <tr><td></td></tr>
                    </table>
                    <table cellpadding='0' cellspacing='0' border='0' valign='top'>
                        <tr>
                            <td>
                                ${'<img src="' + skin.get('facebookicons.album').path + '" />'}
                            </td>
                            <td>&nbsp;&nbsp;</td>
                            <td>
                                ${TagFont(u''.join(['You were tagged in ', str(obj.count), ' photos ', \
                                                    'in album - <a href=', obj.link, '>', \
                                                                    obj.album_name, \
                                                                '</a>']),'major',fonts)}
                                ${TagFont(u''.join([' (',obj.formatted_time,')']),'minor',fonts)}
                            </td>
                        </tr>
                    </table>
      Album:
        message: >
                    <table cellpadding='3' cellspacing='0' border='0' valign='top'>
                        <tr><td></td></tr>
                    </table>
                    <table cellpadding='0' cellspacing='0' border='0' valign='top'>
                        <tr>
                            <td>
                                ${'<img src="' + skin.get('facebookicons.album').path + '" />'}
                            </td>
                            <td>&nbsp;&nbsp;</td>
                            <td>
                                ${TagFont(u''.join(['<a href=http://www.facebook.com/profile.php?id=', str(obj.owner), '>', \
                                                     obj.owner_name, \
                                                    '</a> added new photos to album - <a href=', obj.link, '>', \
                                                    obj.name, '</a>']),'major',fonts)}
                                ${TagFont(u''.join([' (',obj.formatted_time,')']),'minor',fonts)}
                            </td>
                        </tr>
                    </table>
      Wall:
        message: >
                    <table cellpadding='3' cellspacing='0' border='0' valign='top'>
                        <tr><td></td></tr>
                    </table>
                    <table cellpadding='0' cellspacing='0' border='0' valign='top'>
                        <tr>
                            <td>
                                ${'<img src="' + skin.get('facebookicons.wall').path + '" />'}
                            </td>
                            <td>&nbsp;&nbsp;</td>
                            <td>
                                ${TagFont(u''.join(['You have a new ','<a href=http://www.facebook.com/wall.php?id=', str(obj.uid), '>wall post</a>']),'major',fonts)}
                                ${TagFont(u''.join([' (',obj.formatted_time,')']),'minor',fonts)}
                            </td>
                        </tr>
                    </table>
      FriendsWall:
        message: >
                  <table cellpadding='3' cellspacing='0' border='0' valign='top'>
                      <tr><td></td></tr>
                  </table>
                  <table cellpadding='0' cellspacing='0' border='0' valign='top'>
                      <tr>
                          <td>
                              ${'<img src="' + skin.get('facebookicons.wall').path + '" />'}
                          </td>
                          <td>&nbsp;&nbsp;</td>
                          <td>
                              ${TagFont(u''.join(['<a href=http://www.facebook.com/profile.php?id=', str(obj.uid), '>', \
                                                    obj.name,'</a> has a new ', \
                                                  '<a href=http://www.facebook.com/wall.php?id=', str(obj.uid), \
                                                   '>wall post</a>']),'major',fonts)}
                              ${TagFont(u''.join([' (',obj.formatted_time,')']),'minor',fonts)}
                          </td>
                      </tr>
                  </table>
      FriendsNotes:
        message: >
                 <table cellpadding='3' cellspacing='0' border='0' valign='top'>
                     <tr><td></td></tr>
                 </table>
                 <table cellpadding='0' cellspacing='0' border='0' valign='top'>
                     <tr>
                         <td>
                             ${'<img src="' + skin.get('facebookicons.note').path + '" />'}
                         </td>
                         <td>&nbsp;&nbsp;</td>
                         <td>
                             ${TagFont(u''.join(['<a href=http://www.facebook.com/profile.php?id=', str(obj.uid), '>', \
                                                     obj.name, '</a> added a <a href=http://www.facebook.com/notes.php?id=', \
                                                     str(obj.uid), '>new note</a>']),'major',fonts)}
                             ${TagFont(u''.join([' (',obj.formatted_time,')']),'minor',fonts)}
                         </td>
                     </tr>
                 </table>
      str:
        message: "<br>${TagFont(obj,'title',fonts)}"
      CombinedFriendsWall:
        message: >
                 <table cellpadding='3' cellspacing='0' border='0' valign='top'>
                     <tr><td></td></tr>
                 </table>
                 <table cellpadding='0' cellspacing='0' border='0' valign='top'>
                     <tr>
                         <td>
                             ${'<img src="' + skin.get('facebookicons.wall').path + '" />'}
                         </td>
                         <td>&nbsp;&nbsp;</td>
                         <td>
                             ${TagFont(u''.join([(', '.join([('<a href=http://www.facebook.com/profile.php?id=' + str(wall.uid) + '>' \
                                                     + wall.name + '</a>') for wall in obj.visible_walls()[:-1]])), \
                                                  ((' and ' +'<a href=http://www.facebook.com/profile.php?id=' + \
                                                     str(obj.visible_walls()[-1].uid) + '>' + obj.visible_walls()[-1].name + '</a>') \
                                                    if not obj.number_more() else (' and ' + str(obj.number_more()) + ' others')), \
                                                     ' have new wall posts']),'major',fonts)}
                         </td>
                     </tr>
                 </table>

      CombinedFriendsNotes:
        message: >
                 <table cellpadding='3' cellspacing='0' border='0' valign='top'>
                     <tr><td></td></tr>
                 </table>
                 <table cellpadding='0' cellspacing='0' border='0' valign='top'>
                     <tr>
                         <td>
                             ${'<img src="' + skin.get('facebookicons.note').path + '" />'}
                         </td>
                         <td>&nbsp;&nbsp;</td>
                         <td>
                             ${TagFont(u''.join([u', '.join('<a href=http://www.facebook.com/notes.php?id=%s>%s</a>' % \
                                                         (str(note.uid), note.name) for note in obj.notes[:-1]), \
                                                         ' and <a href=http://www.facebook.com/notes.php?id=', \
                                                       str(obj.notes[-1].uid), '>', \
                                                       obj.notes[-1].name, '</a> wrote new notes']),'major',fonts)}
                         </td>
                     </tr>
                 </table>
      NoneType:
        message: >
                    <table cellpadding='3' cellspacing='0' border='0' valign='top'>
                        <tr><td></td></tr>
                    </table>
                    <table cellpadding='0' cellspacing='0' border='0' valign='top'>
                        <tr>
                            <td>
                                ${'<img src="' + skin.get('facebookicons.nothing').path + '" />'}
                            </td>
                            <td>&nbsp;&nbsp;</td>
                            <td>
                                ${TagFont('No News Today','major',fonts)}
                            </td>
                        </tr>
                    </table>

digsby:
    separator: "<br><wxp module='gui.infobox.htmlbitmaps' class='BitmapFromSkin' width ='99%' height='-1'><param name='key' value='infobox.shortseparatorimage'></wxp>"
    header: "<b>${obj.nice_name} is ${obj.status}</b>"
    footer: "<b>This is a Digsby buddy</b><br>"
    status_message: "<b>Status:</b><br>${obj.status_message or 'none'}"

myspace:
  order:
    - alerts
    - bdays
    - statuses
  alerts:
    order:
      - messages
      - friendRequests
      - profileComments
      - pictureComments
      - blogComments
      - birthday
      - events
    header: >
                    <body link='${fonts.linkfc}'>
                        <table width='100%' cellpadding='3' cellspacing='0' border='0' valign='top'>
                            <tr>
                                <td>
                                    ${TagFont('Alerts','title',fonts)}
                                    <br>
                                    <table cellpadding='0' cellspacing='0' border='0' valign='top'>
    footer: >

                </table>
                </td>
                </tr>
                <tr>
                    <td colspan='2'>
                        <wxp module='gui.infobox.htmlbitmaps' class='BitmapFromSkin' width='100%' height='-1'><param name='key' value='infobox.shortseparatorimage'>
                            <param name='padding' value='(1,1)'>
                        </wxp>
                    </td>
                </tr>
                </table>
                <br>
                </td>
                </tr>
                </body>

    birthday: >
                <tr>
                    <td width='8'></td>
                    <td>
                        ${TagFont('<a href="^_^openurl/home">New Birthdays</a></font>','link',fonts)}
                    </td>
                </tr>

    friendRequests: >
                        <tr>
                            <td width='8'></td>
                            <td>
                                ${TagFont('<a href="^_^openurl/newfrs">New Friend Requests</a>','link',fonts)}
                            </td>
                        </tr>

    messages: >
                        <tr>
                            <td width='8'></td>
                            <td>
                                ${TagFont('<a href="^_^openurl/mail">New Messages</a>','link',fonts)}
                            </td>
                        </tr>

    profileComments: >
                        <tr>
                            <td width='8'></td>
                            <td>
                                ${TagFont('<a href="^_^openurl/newcoms">New Comments</a>','link',fonts)}
                            </td>
                        </tr>
    blogComments: >
                        <tr>
                            <td width='8'></td>
                            <td>
                                ${TagFont('<a href="^_^openurl/newbcoms">New Blog Comments</a>','link',fonts)}
                            </td>
                        </tr>

    pictureComments: >
                        <tr>
                            <td width='8'></td>
                            <td>
                                ${TagFont('<a href="^_^openurl/newpcoms">New Picture Comments</a>','link',fonts)}
                            </td>
                        </tr>

    events: >
                        <tr>
                            <td width='8'></td>
                            <td>
                                ${TagFont('<a href="^_^openurl/events">New Events Invites</a>','link',fonts)}
                            </td>
                        </tr>

    none: >
                        <tr>
                            <td width='8'></td>
                            <td>
                                ${TagFont('No Alerts','major',fonts)}
                            </td>
                        </tr>

  statuses:
    header: >
                    <body link='${fonts.linkfc}'>
                        <table width='100%' cellpadding='3' cellspacing='0' border='0' valign='top'>
                            <tr>
                                <td>
                                    ${TagFont('Status Updates','title',fonts)}
                                    <br>
                                    <table cellpadding='2' cellspacing='0' border='0' valign='top'>
                                    <tr><td></td></tr>
                                    </table>
                                    <table cellpadding='0' cellspacing='0' border='0' valign='top'>
    footer: >
                </table>
                </td>
                </tr>
                </table>
                <br>
                </td>
                </tr>
                </body>
    none: >
                <tr>
                    <td width='8'></td>
                    <td>${TagFont('No Status Updates','major',fonts)}</td>
                </tr>

    MyspaceStatus:
      message: >
                    <tr>
                        <td>
                            <wxp module='gui.infobox.htmlbitmaps' class='BitmapFromWeb' width='45' height='0'>
                               <param name='url' value='${obj.cache_url}'>
                               <param name='keep_aspect' value='True'>
                               <param name='href' value='^_^openurl/profile/${obj.userid}'>
                            </wxp>
                        </td>
                        <td><a href='^_^openurl/profile/${obj.userid}'>${TagFont(obj.username, 'link', fonts)}</a> ${TagFont(obj.status, 'major', fonts)}&nbsp;${TagFont("("+obj.when+")", 'minor', fonts)}</td>
                    </tr>

  bdays:
    hide_empty: yes
    header: >
                <body link='${fonts.linkfc}'>
                <table width='100%' cellpadding='3' cellspacing='0' border='0' valign='top'>
                    <tr>
                        <td>
                            ${TagFont('Upcoming Birthdays','title',fonts)}
                            <table cellpadding='2' cellspacing='0' border='0' valign='top'>
                            <tr><td></td></tr>
                            </table>
                            <table cellpadding='0' width='100%' cellspacing='0' border='0' align='left' valign='top'>

    footer: >
                </table>
                </td>
                </tr>
                <tr>
                  <td colspan='2'>
                    <wxp module='gui.infobox.htmlbitmaps' class='BitmapFromSkin' width='100%' height='-1'>
                      <param name='key' value='infobox.shortseparatorimage'>
                      <param name='padding' value='(1,1)'>
                    </wxp>
                  </td>
                </tr>
                </table>
                </td>
                </body>

    none:  <td width='8'></td><td>${TagFont('No Birthdays','major',fonts)}</td>
    MyspaceBirthday:
      message: >
                    <tr><td>
                       <table border="0" cellpadding="0" cellspacing="0" align='left'>
                        <tr align='left' valign='top'><td align='left' valign='top'>
                          <wxp module='gui.infobox.htmlbitmaps'
                               class='BitmapFromWeb'
                               width='45'
                               height='0'>
                            <param name='url' value='${obj.cache_url}'>
                            <param name='keep_aspect' value='True'>
                            <param name='href' value='^_^openurl/profile/${obj.userid}'>
                          </wxp>
                        </td>
                        <td width="100%" valign='top'>
                            <table border="0" cellpadding="0" cellspacing="0">
                        <tr><td align='left'>
                            <a href='^_^openurl/profile/${obj.userid}'>
                              ${TagFont(obj.username, 'link', fonts)}
                            </a>
                            <table cellpadding="2" cellspacing="0"><tr><td></td></tr></table>
                            </td>
                        </tr>
                        <tr><td align='left'>${TagFont(obj.date, 'header', fonts)}</td></tr>

                      </table>
                     </td></tr></table>
                    </td></tr>


    BirthdayParty:
      message: 'whoo! party time!'

twitter:
  TwitterDirectMsg: &TwitterDirectMsg
    message: >
      <tr>
        <td width="52">
          <wxp module='gui.infobox.htmlbitmaps' class='BitmapFromWebx2' width='48' height='48'>
            <param name='url1' value='${obj.cache_values['sender_cache_url'] or ''}'>
            <param name='url2' value='${obj.cache_values['recipient_cache_url'] or ''}'>
            <param name='pos1' value='(0,0)'>
            <param name='size1' value='(36,36)'>
            <param name='pos2' value='(24,24)'>
            <param name='size2' value='(24,24)'>
            <param name='padding' value='(0)'>
          </wxp>
        </td>
        <td width="100%">
          <table width='100%' cellpadding='0' cellspacing='0' border='0' valign='top'>
            <tr>
              <td>
                  ${TagFont(obj.linkified_text, 'major', fonts)}
              </td>
            </tr>
            <tr>
              <td valign='top'>
                <table width='100%' cellpadding='0' cellspacing='0' border='0' valign='top'>
                  <tr>
                    ${'<td><a href="^_^new_tweet/d ' + obj.sender_screen_name + ' ">' if \
                      obj.shouldShow('delete') else \
                      '<td><a href="^_^new_tweet/d ' + obj.recipient_screen_name + ' ">'}
                    ${'<img src="' + skin.get('twittericons.direct').path + '" /></a></td>'}
                    ${'<td><a href="^_^destroy_direct_message/' + str(obj.id) + '">' + \
                      '<img src="' + skin.get('twittericons.delete').path + '" /></a></td>' \
                      if obj.shouldShow('delete') else ''}
                    <td width='100%'>
                      ${TagFont('&nbsp;from ', 'minor', fonts) + '<a href="http://twitter.com/' + \
                                  obj.sender_screen_name + '">' + \
                                  obj.sender_screen_name + '</a> ' \
                        if obj.shouldShow('delete') else \
                        TagFont('&nbsp;sent to ', 'minor', fonts) + '<a href="http://twitter.com/' + \
                                  obj.recipient_screen_name + '">' + \
                                  obj.recipient_screen_name + '</a> '}
                      ${TagFont('&nbsp;' + obj.relative_created_at, 'minor', fonts)}
                    </td>
                  </tr>
                </table>
              </td>
            </tr>
          </table>
        </td>
      </tr>
      <tr><td><table cellpadding='3' cellspacing='0' border='0' valign='top'>
      <tr><td></td></tr>
      </table></td></tr>
  TwitterStatus: &TwitterStatus
    message: >
        <tr>
            <td width="52"><img src="${obj.cache_values['cache_url'] or ''}" /></td>
            <td width="100%">
              <table width='100%' cellpadding='0' cellspacing='0' border='0' valign='top'>
                <tr>
                  <td>
                      ${TagFont('<a href="http://twitter.com/' + obj.user_screen_name + '">' + obj.user_screen_name + '</a> ', 'major', fonts)}
                      ${TagFont(obj.linkified_text, 'major', fonts)}
                  </td>
                </tr>
                <tr>
                  <td valign='top'>
                    <table width='100%' cellpadding='0' cellspacing='0' border='0' valign='top'>
                      <tr>
                        ${'<td><a href="^_^create_favorite/' + str(obj.id) + '">' + \
                         '<img src="' + skin.get('twittericons.staroff').path + '" /></a></td>' \
                         if obj.shouldShow('create_favorite') else ''}
                        ${'<td><a href="^_^destroy_favorite/' + str(obj.id) + '">' + \
                         '<img src="' + skin.get('twittericons.staron').path + '" /></a></td>' \
                         if obj.shouldShow('destroy_favorite') else ''}
                        ${'<td><a href="^_^new_tweet/@' + obj.user_screen_name + ' ">' + \
                          '<img src="' + skin.get('twittericons.reply').path + '" /></a></td>' \
                          if obj.shouldShow('reply') else ''}
                        ${'<td><a href="^_^new_tweet/d ' + obj.user_screen_name + ' ">' + \
                          '<img src="' + skin.get('twittericons.direct').path + '" /></a></td>' \
                          if obj.shouldShow('direct') else ''}
                        ${'<td><a href="^_^destroy_status/' + str(obj.id) + '">' + \
                          '<img src="' + skin.get('twittericons.delete').path + '" /></a></td>' \
                          if obj.shouldShow('delete') else ''}
                        <td width='100%'>
                          ${TagFont(u''.join(['&nbsp;', obj.relative_created_at,
                                             (' via ' + obj.source) if obj.source else '']),
                                                  'minor',fonts)}
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
            </td>
        </tr>
        <tr><td><table cellpadding='3' cellspacing='0' border='0' valign='top'>
        <tr><td></td></tr>
        </table></td></tr>
  TwitterSelfStatus: &TwitterSelfStatus
    message: >
        <tr>
            <td width="52"><img src="${obj.cache_values['cache_url'] or ''}" /></td>
            <td width="100%">
              <table width='100%' cellpadding='0' cellspacing='0' border='0' valign='top'>
                <tr>
                  <td>
                      ${TagFont('<a href="http://twitter.com/' + obj.user_screen_name + '">' + obj.user_screen_name + '</a> ', 'major', fonts)}
                      ${TagFont(obj.linkified_text, 'major', fonts)}
                  </td>
                </tr>
                <tr>
                  <td valign='top'>
                    <table width='100%' cellpadding='0' cellspacing='0' border='0' valign='top'>
                      <tr>
                        ${'<td><a href="^_^create_favorite/' + str(obj.id) + '">' + \
                         '<img src="' + skin.get('twittericons.staroff').path + '" /></a></td>' \
                         if obj.shouldShow('create_favorite') else ''}
                        ${'<td><a href="^_^destroy_favorite/' + str(obj.id) + '">' + \
                         '<img src="' + skin.get('twittericons.staron').path + '" /></a></td>' \
                         if obj.shouldShow('destroy_favorite') else ''}
                        ${'<td><a href="^_^destroy_status/' + str(obj.id) + '">' + \
                          '<img src="' + skin.get('twittericons.delete').path + '" /></a></td>' \
                          if obj.shouldShow('delete') else ''}
                        <td width='100%'>
                            ${TagFont(u''.join(['&nbsp;', obj.relative_created_at,
                                         (' via ' + obj.source) if obj.source else '']),
                                  'minor',fonts)}
                            &nbsp;(${TagFont('<a href="^_^new_tweet">update</a>', 'link', fonts)})
                        </td>
                      </tr>
                    </table>
                  </td>
                </tr>
              </table>
            </td>
        </tr>
  TwitterFooter: &TwitterFooter >
                             </table>
                             </body>
  TwitterNone: &TwitterNone ''
  TwitterSelfHeader: &TwitterSelfHeader >
                    <body link='${fonts.linkfc}'>
                        <table width='100%' cellpadding='0' cellspacing='0' border='0' valign='top'>
  TwitterSelfFooter: &TwitterSelfFooter >
                        <tr><td><table cellpadding='3' cellspacing='0' border='0' valign='top'>
                        <tr><td></td></tr>
                        </table></td></tr>
                        <tr>
                          <td colspan='2'>
                            <wxp module='gui.infobox.htmlbitmaps' class='BitmapFromSkin' width='100%' height='-1'>
                              <param name='key' value='infobox.shortseparatorimage'>
                              <param name='padding' value='(1,1)'>
                            </wxp>
                          </td>
                        </tr>
  timeline:
    order:
      - self_feed
      - timeline
    self_feed:
      header: *TwitterSelfHeader
      footer: *TwitterSelfFooter
      none: *TwitterNone
      TwitterStatusMsg: *TwitterSelfStatus
      TwitterDirectMsg: *TwitterDirectMsg
    timeline:
      header: >
                <tr><td border=1>${TagFont('Timeline','title',fonts)}</td><td width='100%' align='right'><a href="^_^tabloaded2/timeline/True">${TagFont('Refresh','link',fonts)}</a></td></tr>
                <tr><td><table cellpadding='3' cellspacing='0' border='0' valign='top'>
                <tr><td></td></tr>
                </table></td></tr>
      footer: *TwitterFooter
      none: *TwitterNone
      TwitterStatusMsg: *TwitterStatus
      TwitterDirectMsg: *TwitterDirectMsg
  directs:
    order:
      - self_feed
      - directs
    self_feed:
      header: *TwitterSelfHeader
      footer: *TwitterSelfFooter
      none: *TwitterNone
      TwitterStatusMsg: *TwitterSelfStatus
      TwitterDirectMsg: *TwitterDirectMsg
    directs:
      header: >
                <tr><td>${TagFont('Directs','title',fonts)}</td><td width='100%' align='right'><a href="^_^tabloaded2/directs/True">${TagFont('Refresh','link',fonts)}</a></td></tr>
                <tr><td><table cellpadding='3' cellspacing='0' border='0' valign='top'>
                <tr><td></td></tr>
                </table></td></tr>
      footer: *TwitterFooter
      none: *TwitterNone
      TwitterStatusMsg: *TwitterStatus
      TwitterDirectMsg: *TwitterDirectMsg
  replies:
    order:
      - self_feed
      - replies
    self_feed:
      header: *TwitterSelfHeader
      footer: *TwitterSelfFooter
      none: *TwitterNone
      TwitterStatusMsg: *TwitterSelfStatus
      TwitterDirectMsg: *TwitterDirectMsg
    replies:
      header: >
                <tr><td>${TagFont('Replies','title',fonts)}</td><td width='100%' align='right'><a href="^_^tabloaded2/replies/True">${TagFont('Refresh','link',fonts)}</a></td></tr>
                <tr><td><table cellpadding='3' cellspacing='0' border='0' valign='top'>
                <tr><td></td></tr>
                </table></td></tr>
      footer: *TwitterFooter
      none: *TwitterNone
      TwitterStatusMsg: *TwitterStatus
      TwitterDirectMsg: *TwitterDirectMsg
  archive:
    order:
      - self_feed
      - archive
    self_feed:
      header: *TwitterSelfHeader
      footer: *TwitterSelfFooter
      none: *TwitterNone
      TwitterStatusMsg: *TwitterSelfStatus
      TwitterDirectMsg: *TwitterDirectMsg
    archive:
      header: >
                <tr><td>${TagFont('Archive','title',fonts)}</td><td width='100%' align='right'><a href="^_^tabloaded2/archive/True">${TagFont('Refresh','link',fonts)}</a></td></tr>
                <tr><td><table cellpadding='3' cellspacing='0' border='0' valign='top'>
                <tr><td></td></tr>
                </table></td></tr>
      footer: *TwitterFooter
      none: *TwitterNone
      TwitterStatusMsg: *TwitterStatus
      TwitterDirectMsg: *TwitterDirectMsg
  favorites:
    order:
      - self_feed
      - favorites
    self_feed:
      header: *TwitterSelfHeader
      footer: *TwitterSelfFooter
      none: *TwitterNone
      TwitterStatusMsg: *TwitterSelfStatus
      TwitterDirectMsg: *TwitterDirectMsg
    favorites:
      header: >
                <tr><td>${TagFont('Favorites','title',fonts)}</td><td width='100%' align='right'><a href="^_^tabloaded2/favorites/True">${TagFont('Refresh','link',fonts)}</a></td></tr>
                <tr><td><table cellpadding='3' cellspacing='0' border='0' valign='top'>
                <tr><td></td></tr>
                </table></td></tr>
      footer: *TwitterFooter
      none: *TwitterNone
      TwitterStatusMsg: *TwitterStatus
      TwitterDirectMsg: *TwitterDirectMsg


rss:
  order:
    - feed
  feed:
    header: >
                <table width='100%' cellpadding='3' cellspacing='0' border='0' valign='top'>
                    <tr>
                        <td>
                            ${TagFont('Foo','title',fonts)}
                            <table cellpadding='2' cellspacing='0' border='0' valign='top'>
                            <tr><td></td></tr>
                            </table>
                            <table cellpadding='0' width='100%' cellspacing='0' border='0' align='left' valign='top'>

    footer: >
                </table>
                </td>
                </tr>
                </table>
                </td>
                </body>
    RssItem:
      message: >
                    <tr><td>
                       ${TagFont(obj.title, 'major', fonts)}
                    </td></tr>
